

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <meta name="layout" content="main" />
        <title>Members of Team Sangria 2000</title>
    </head>
    <body>
        <div class="body">
            <h1>Members of Team Sangria 2000</h1>
            <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
            </g:if>
            <div class="memberlist">
                <table>
                    <tbody>
                    <g:each in="${profileInstanceList}" status="i" var="profileInstance">
                        <tr class="${(i % 2) == 0 ? 'odd' : 'even'}" onclick='window.location = "show?id=${profileInstance.id}"' valign="top">

                            <td>
                              <img src="<g:createLink controller="image" action="tiny" id="${profileInstance.user.id}"/>" alt="${profileInstance.user.username}"/>
                              ${fieldValue(bean:profileInstance, field:'firstName')} <g:isLoggedIn>${fieldValue(bean:profileInstance, field:'lastName')}</g:isLoggedIn> <g:isNotLoggedIn>${profileInstance.lastName.substring(0,1)}.</g:isNotLoggedIn> (${fieldValue(bean:profileInstance, field:'clubFunction')})
                            </td>

                        </tr>
                    </g:each>
                    </tbody>
                </table>
            </div>
        </div>
    </body>
</html>
